<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" href="注册.css" type="text/css">
    <script src="注册.js"></script>
    <script src="Click.js"></script>
</head>

<body>
    <div class="control">
        <div class="item">
            <div class="active">登录</div>
            <div>注册</div>
        </div>
        <div class="content">
            <div style="display: block;">
                <p>账号</p>
                <input type="text" placeholder="username" id="login-username" />
                <p>密码</p>
                <input type="password" placeholder="password" id="login-password">
                <br>
        <a href="javascript:alert('注册成功！')"><input type="submit" value="登录" onclick="login()"></a>
            </div>
            <div>
                <p>用户名</p>
                <input type="text" placeholder="username" id="register-username">
                <p>密码</p>
                <input type="password" placeholder="password" id="register-password">
                <p>邮箱</p>
                <input type="text" placeholder="email" id="register-email">
                <br>
                
                <a href="javascript:alert('注册成功！')"><input type="submit" value="登录" onclick="register()"></a>
            </div>
        </div>
    </div>

</body>

</html>